package org.wk.account.enums;

import org.wk.core.common.view.GeneralResponseCode;

public enum ResponseCode implements GeneralResponseCode{

	sys_exception_01("sys_exception_01","系统异常，请联系管理员"),

	COMPLETE_DATA("complete_data","数据不完整，请完善数据"),
	PAYMENT_TYPE_ERROR("payment_type_error","支付方式不支持"),
	ACCOUNTS_PASSWORD_ERROR("accounts_password_error","帐号或密码错误"),
	ACCOUNT_TYPE_ERROR("account_type_error","账户类型不正确"),
	ACCOUNTS_UN_EXIST("accounts_un_exist","帐号不存在"),
	AMOUNT_DATA_ERROR("amount_data_error","输入数量大于当前账户总额，不可操作"),
	MOBILE_NUMBER_ERROR("mobile_number_error","手机号码错误"),
	SMS_CODE_ERROR("sms_code_error","验证码错误"),
	NOT_VIP("not_vip","只有VIP用户才能申请提现"),
	DATA_ERROR("data_error","鲸钻数量不符合规定"),
	TWO_LEVEL_PASSWORD_ERROR("password_error","请输入正确的密码！"),
	NO_TWO_LEVEL_PASSWORD("no_password","您还没有设置二级密码！");
	private String code;
	private String message;

	private ResponseCode(String code, String message) {
		this.code = code;
		this.message = message;
	}

	
	/* (非 Javadoc)
	 * <p>Title: getMessage</p>
	 * <p>Description: </p>
	 * @return
	 * @see org.wk.core.common.exception.GeneralExceptionCode#getMessage()
	 */ 
	
	@Override
	public String getMessage() {
		// TODO Auto-generated method stub
		return message;
	}

	
	/* (非 Javadoc)
	 * <p>Title: getCode</p>
	 * <p>Description: </p>
	 * @return
	 * @see org.wk.core.common.exception.GeneralExceptionCode#getCode()
	 */ 
	
	@Override
	public String getCode() {
		// TODO Auto-generated method stub
		return code;
	}


}
